package com.racetrack

class FooterTagLib {
	def thisYear = {
		out << new Date().format("yyyy")
	}
	//def copyright = {attrs, body-> 
		//out << "&copy; " + attrs.startYear + " - " 
		//out << 

	//attrs not attr
	// body-> ???
	def copyright = {attrs, body->
		out << "&copy;" + attrs.startYear + "-"
		out << thisYear() + " "  + body()
	}
}
